import requests
import json

url = r"https://pubapi.aozorahack.org/api/v0.1/books/random"
r = requests.get(url, verify=False)
print(r)
